from face_recognition.face_model import FaceModel
import cv2

facer = FaceModel(-1, 'face_recognition/model/model', 1)
img = cv2.imread('test_image/Inf_1.jpg')
align = facer.get_input(img)
cv2.imwrite("align.jpg", align)
fea = facer.get_feature(align)
print(fea)